package cn.mulanbay.log.persistent.service;

import cn.mulanbay.persistent.entity.ErrorCodeDefine;
import cn.mulanbay.persistent.mapper.ErrorCodeDefineMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ErrorCodeDefineService extends ServiceImpl<ErrorCodeDefineMapper, ErrorCodeDefine> {

    @Autowired
    ErrorCodeDefineMapper errorCodeDefineMapper;

    /**
     * 更新条数
     *
     * @param code
     * @param cc
     */
    public void updateCount(Integer code,int cc){
        errorCodeDefineMapper.updateCount(code,cc);
    }
}
